package com.ssy.invoicing.mail.entity;

import java.util.Map;

/**
 * 邮件信息对象
 * <p>封装了邮件发送的信息.</p>
 * Comment of MailMessage
 * @author wb_suoyao.shen 2012.05.24
 */
public class MailMessage {

    /*
     * 邮件主题
     */
    private String subject;
    /*
     * 邮件发送目标地址
     */
    private String[] sendAddress;
    /*
     * 邮件发送起始地址
     */
    private String sendFrom;
    /*
     * 邮件内容
     */
    private String mailContext;
    /*
     * 模版文件路径
     */
    private String templateFile;
    /*
     * 邮件模版中的参数字典
     */
    private Map<String,Object> model;
    /*
     * 附件数组
     */
    private String[] files;
    
    public String getSubject() {
        return subject;
    }
    public void setSubject(String subject) {
        this.subject = subject;
    }
    public String[] getSendAddress() {
        return sendAddress;
    }
    public void setSendAddress(String[] sendAddress) {
        this.sendAddress = sendAddress;
    }
    public String getSendFrom() {
        return sendFrom;
    }
    public void setSendFrom(String sendFrom) {
        this.sendFrom = sendFrom;
    }
    public String getMailContext() {
        return mailContext;
    }
    public void setMailContext(String mailContext) {
        this.mailContext = mailContext;
    }
    public String getTemplateFile() {
        return templateFile;
    }
    public void setTemplateFile(String templateFile) {
        this.templateFile = templateFile;
    }
    public Map<String, Object> getModel() {
        return model;
    }
    public void setModel(Map<String, Object> model) {
        this.model = model;
    }
    public String[] getFiles() {
        return files;
    }
    public void setFiles(String[] files) {
        this.files = files;
    }
    
}
